def is_lower_and_digital(s):
    for each in s:
        if not (each.isdigit() or each.islower()):
            return False
    return True


if __name__=="__main__":
    s=input().strip()
    if is_lower_and_digital(s):
        print("Yes")
    else:
        print("No")
